(0) Obligation:
Runtime Complexity TRS:
The TRS R consists of the following rules:
r(xs, ys, zs, nil) → xs
r(xs, nil, zs, cons(w, ws)) → r(xs, xs, cons(succ(zero), zs), ws)
r(xs, cons(y, ys), nil, cons(w, ws)) → r(xs, xs, cons(succ(zero), nil), ws)
r(xs, cons(y, ys), cons(z, zs), cons(w, ws)) → r(ys, cons(y, ys), zs, cons(succ(zero), cons(w, ws)))
Rewrite Strategy: FULL
(1) CpxTrsToCpxRelTrsProof (BOTH BOUNDS(ID, ID) transformation)
Transformed TRS to relative TRS where S is empty.
(2) Obligation:
Runtime Complexity Relative TRS:
The TRS R consists of the following rules:
r(xs, ys, zs, nil) → xs
r(xs, nil, zs, cons(w, ws)) → r(xs, xs, cons(succ(zero), zs), ws)
r(xs, cons(y, ys), nil, cons(w, ws)) → r(xs, xs, cons(succ(zero), nil), ws)
r(xs, cons(y, ys), cons(z, zs), cons(w, ws)) → r(ys, cons(y, ys), zs, cons(succ(zero), cons(w, ws)))
S is empty.
Rewrite Strategy: FULL
(3) SlicingProof (LOWER BOUND(ID) transformation)
Sliced the following arguments:
cons/0
succ/0
(4) Obligation:
Runtime Complexity Relative TRS:
The TRS R consists of the following rules:
r(xs, ys, zs, nil) → xs
r(xs, nil, zs, cons(ws)) → r(xs, xs, cons(zs), ws)
r(xs, cons(ys), nil, cons(ws)) → r(xs, xs, cons(nil), ws)
r(xs, cons(ys), cons(zs), cons(ws)) → r(ys, cons(ys), zs, cons(cons(ws)))
S is empty.
Rewrite Strategy: FULL
(5) DecreasingLoopProof (EQUIVALENT transformation)
The following loop(s) give(s) rise to the lower bound Ω(n1):
The rewrite sequence
r(nil, nil, zs, cons(cons(ws19_0))) →+ r(nil, nil, cons(cons(zs)), ws19_0)
gives rise to a decreasing loop by considering the right hand sides subterm at position [].
The pumping substitution is [ws19_0 / cons(cons(ws19_0))].
The result substitution is [zs / cons(cons(zs))].
(6) BOUNDS(n^1, INF)